package com.fancy.service.impl;

import com.fancy.dao.MusicTypeDao;
import com.fancy.pojo.category.MusicType;
import com.fancy.service.MusicTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MusicTypeServiceImpl implements MusicTypeService {
    @Autowired
    MusicTypeDao musicTypeDao;
    @Override
    public List<MusicType> selectMusicByTypeId() {
        return musicTypeDao.selectMusicByTypeId();
    }
}
